<?php

class User
{
	/**
	 * 
	 * the user's email
	 * @var String
	 */
	public $email = null;
	
	/**
	 * user's encrypted password
	 * 	@access Public
	 * 	  @var String
	 */
	public $password = null;
	
	/**
	 * 
	 * salt
	 * @var string
	 */
	public $salt = null;
	
	/**
	 * 
	 * user's first name
	 * @var string
	 */
	public $fname = null;
	
	/**
	 * user's last name
	 * @var string
	 */
	public $lname = null;
	
	
	/**
	 * 
	 * user's ID
	 * @var string
	 */
	public $id = null;
	
	
	/**
	 * 
	 * user's birthday
	 * @access public
	 * @var DateTime
	 */
	public $birthday = null;
	
	/**
	 * 
	 * user's last login time
	 * @var DateTime
	 */
	public $timestamp = null;
	
	public function User($email,$password,$salt,$timestamp)
	{
		$this->email = $email;
		$this->password = $password;
		$this->salt = $salt;
		//$this->fname = $fname;
		//$this->lname = $lname;
		//$this->birthday = $birthday;
		$this->timestamp = $timestamp;
		
	}
	
	
}